package com.hnust.dao;

import com.hnust.domain.Question;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/*
 * @Author Tonited
 * @Description
 * @Date 20:42 2020/11/25
 * @Param
 * @return
 **/
@Mapper
@Repository
public interface QuestionDao {

	@Insert("insert into question(que_id,level,content,analysis,point,cou_id,cha_id,que_typ_id,cou_tar_id) values(#{que_id},#{level},#{content},#{analysis},#{point},#{cou_id},#{cha_id},#{que_typ_id},#{cou_tar_id})")
	public boolean insertQuestion(String que_id,Integer level,String content,String analysis,String point,String cou_id,String cha_id,String que_typ_id,String cou_tar_id);
}
